module module2
  implicit none

contains
  subroutine sub2()
    print *, 'This is subroutine2'
  end subroutine sub2

  subroutine sub3()
    print *, 'This is subroutine3'
  end subroutine sub3

end module module2